const express = require('express');
const router = express.Router();
const gradeController = require('../../controllers/grade.controller');

// 获取班级成绩
router.get('/grades/:classId', gradeController.getClassGrades);

router.get('/grading/:classId/:experimentId', gradeController.getGradingData);
router.post('/grading', gradeController.updateGrades);

module.exports = router;